﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NCP.Recruiting.ApplicationServices.Contracts;
using System.ComponentModel.DataAnnotations;

namespace NCP.Recruiting.WebApp.Models.Departments {
    public class DepartmentFormModel : ICreateDepartmentCommand {
        public Guid Id { get; set; }

        [Required(ErrorMessage = "请填写部门名称")]
        public string DepartmentName { get; set; }

        [Required(ErrorMessage = "请填写联系人姓名")]
        public string Contact { get; set; }

        [Required(ErrorMessage = "请填写电子邮件")]
        public string Email { get; set; }

        [Required(ErrorMessage = "请填写联系电话")]
        public string Tel { get; set; }

        public string Fax { get; set; }
        public string Mobile { get; set; }
    }

}